package model;

public class Group {
    private int group_id;
    private String name;

    public Group(int group_id, String name) {
        this.group_id = group_id;
        this.name = name;
    }

    public int getId() {
        return group_id;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return name;  // 方便在 ListView 中显示名称
    }
}
